﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:toolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit" x:Name="userControl" x:Class="ROOTFileSizeAnalyzer.MainPage"
    mc:Ignorable="d"
    d:DesignHeight="587" d:DesignWidth="400" ScrollViewer.VerticalScrollBarVisibility="Auto" Loaded="UserControl_Loaded">

    <toolkit:BusyIndicator Margin="0" d:LayoutOverrides="Height" IsBusy="{Binding IsBusyLoading, ElementName=userControl}" d:DataContext="{Binding Source={StaticResource SampleObjectData}}">
		<Grid Background="White">
			<Grid.RowDefinitions>
				<RowDefinition Height="36"/>
				<RowDefinition/>
			</Grid.RowDefinitions>
			<sdk:Label HorizontalAlignment="Left" Margin="8,8,0,0" FontSize="16" Content="ROOT File Size Analyzer" VerticalAlignment="Top"/>
			<Button Content="Load Size Info" HorizontalAlignment="Right" x:Name="LoadSizeInfoButton" Click="LoadSizeInfoButton_Click" VerticalAlignment="Top" Margin="0,8,8,0" />
			<sdk:DataGrid x:Name="CompletInfoGrid" AutoGenerateColumns="True" ItemsSource="{Binding BranchInfo}" IsReadOnly="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Grid.Row="1" Margin="0"/>
		</Grid>
	</toolkit:BusyIndicator>
</UserControl>
